\hypertarget{classController}{\section{Controller类 参考}
\label{classController}\index{Controller@{Controller}}
}
\subsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classController_a81be804aae1ecaf7bb3008e36ac62496}{\-\_\-\-\_\-call} (\$action, \$param)
\end{DoxyCompactItemize}
\subsection*{Protected 成员函数}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classController_abb9c75158966afe1aa9f746e6e9c943f}{assign} (\$name, \$value='')
\item 
\hyperlink{classController_a4a95b89c1ede5b2db92ace3d02d37eae}{set\-Output} (\$data)
\item 
\hyperlink{classController_ab858ac409b6178e8f60adbdf2a01de32}{display} (\$file=N\-U\-L\-L, \$module=N\-U\-L\-L)
\item 
\hyperlink{classController_a5b6b70404b0b57af24daa445594cf42e}{show\-\_\-message} (\$msg, \$url\-\_\-forward=null, \$ms=null, \$module='index')
\end{DoxyCompactItemize}


\subsection{详细描述}
Temp\-Li 共共函数库 常用函数 \begin{DoxyAuthor}{作者}
七觞酒  \href{mailto:739800600@qq.com}{\tt 739800600@qq.\-com} 
\end{DoxyAuthor}
\begin{DoxyDate}{日期}
2013-\/1-\/20 
\end{DoxyDate}


\subsection{成员函数说明}
\hypertarget{classController_a81be804aae1ecaf7bb3008e36ac62496}{\index{Controller@{Controller}!\-\_\-\-\_\-call@{\-\_\-\-\_\-call}}
\index{\-\_\-\-\_\-call@{\-\_\-\-\_\-call}!Controller@{Controller}}
\subsubsection[{\-\_\-\-\_\-call}]{\setlength{\rightskip}{0pt plus 5cm}Controller\-::\-\_\-\-\_\-call (
\begin{DoxyParamCaption}
\item[{}]{\$action, }
\item[{}]{\$param}
\end{DoxyParamCaption}
)}}\label{classController_a81be804aae1ecaf7bb3008e36ac62496}
魔术方法 有不存在的操作的时候执行 \hypertarget{classController_abb9c75158966afe1aa9f746e6e9c943f}{\index{Controller@{Controller}!assign@{assign}}
\index{assign@{assign}!Controller@{Controller}}
\subsubsection[{assign}]{\setlength{\rightskip}{0pt plus 5cm}Controller\-::assign (
\begin{DoxyParamCaption}
\item[{}]{\$name, }
\item[{}]{\$value = {\ttfamily ''}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}}}\label{classController_abb9c75158966afe1aa9f746e6e9c943f}
给模板文件分配变量 
\begin{DoxyParams}[1]{参数}
string & {\em \$name} & 变量名称 \\
\hline
\textbackslash{}mid | string & {\em \$value} & 变量值 \\
\hline
\end{DoxyParams}
\hypertarget{classController_ab858ac409b6178e8f60adbdf2a01de32}{\index{Controller@{Controller}!display@{display}}
\index{display@{display}!Controller@{Controller}}
\subsubsection[{display}]{\setlength{\rightskip}{0pt plus 5cm}Controller\-::display (
\begin{DoxyParamCaption}
\item[{}]{\$file = {\ttfamily NULL}, }
\item[{}]{\$module = {\ttfamily NULL}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}}}\label{classController_ab858ac409b6178e8f60adbdf2a01de32}
显示 视图 
\begin{DoxyParams}{参数}
{\em \$file} & 模板文件名称 \\
\hline
{\em \$module} & 所在模块 \\
\hline
\end{DoxyParams}
\hypertarget{classController_a4a95b89c1ede5b2db92ace3d02d37eae}{\index{Controller@{Controller}!set\-Output@{set\-Output}}
\index{set\-Output@{set\-Output}!Controller@{Controller}}
\subsubsection[{set\-Output}]{\setlength{\rightskip}{0pt plus 5cm}Controller\-::set\-Output (
\begin{DoxyParamCaption}
\item[{}]{\$data}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}}}\label{classController_a4a95b89c1ede5b2db92ace3d02d37eae}
给模板文件 批量分配变量 
\begin{DoxyParams}[1]{参数}
array & {\em \$data} & 变量名称 \\
\hline
\end{DoxyParams}
\hypertarget{classController_a5b6b70404b0b57af24daa445594cf42e}{\index{Controller@{Controller}!show\-\_\-message@{show\-\_\-message}}
\index{show\-\_\-message@{show\-\_\-message}!Controller@{Controller}}
\subsubsection[{show\-\_\-message}]{\setlength{\rightskip}{0pt plus 5cm}Controller\-::show\-\_\-message (
\begin{DoxyParamCaption}
\item[{}]{\$msg, }
\item[{}]{\$url\-\_\-forward = {\ttfamily null}, }
\item[{}]{\$ms = {\ttfamily null}, }
\item[{}]{\$module = {\ttfamily 'index'}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}}}\label{classController_a5b6b70404b0b57af24daa445594cf42e}
消息提示页 
\begin{DoxyParams}[1]{参数}
string & {\em \$msg} & 消息内容 \\
\hline
null & {\em \$url\-\_\-forward} & \\
\hline
int & {\em \$ms} & 等待时间 \\
\hline
string & {\em \$module} & \\
\hline
\end{DoxyParams}


该类的文档由以下文件生成\-:\begin{DoxyCompactItemize}
\item 
templi/Controller.\-class.\-php\end{DoxyCompactItemize}
